// CommonObject.cpp: implementation of the CCommonObject class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "8085.h"
#include "CommonObject.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CCommonObject::CCommonObject()
{
    ASSERT(CMy8085View::GetCurrentDoc());
    SetDocument(CMy8085View::GetCurrentDoc());
    SetView(CMy8085View::GetCurrentView());
    SetChildFrame(CMy8085View::GetChildFrame());
}

CCommonObject::~CCommonObject()
{

}

CDebugData& CCommonObject::GetDebugObject()
{
    return GetDocument()->m_cDebugInfo;
}
